module.exports = app => {
  const { STRING, INTEGER, DATE } = app.Sequelize;
  const Commoditytype = app.model.define("commodity_type", {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    type_name: STRING,
    created_at: DATE,
    updated_at: DATE
  });

  return Commoditytype;
};
